#if !defined(AFX_CONSOLEWINDOW_H__689A16BA_321E_4D45_8904_A1BAA793FFD5__INCLUDED_)
/// @cond
#define AFX_CONSOLEWINDOW_H__689A16BA_321E_4D45_8904_A1BAA793FFD5__INCLUDED_
/// @endcond

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CConsoleWindow  
{
public:
	CConsoleWindow();
	virtual ~CConsoleWindow();

	BOOL SetTile(LPCTSTR lpTile);
	BOOL WriteString(LPCTSTR lpString);
	BOOL WriteString(WORD Attrs,LPCTSTR lpString);
private:
	HANDLE m_hConsole;
	BOOL   m_bCreate;
	BOOL   m_bAttrs;
	WORD   m_OldColorAttrs; 
};

#endif // !defined(AFX_CONSOLEWINDOW_H__689A16BA_321E_4D45_8904_A1BAA793FFD5__INCLUDED_)
